import {viewCollection} from '../api/collection'


// eslint-disable-next-line no-unused-vars
function viewCollects(){
    let list
    // 需要验证
    viewCollection().then((res) => {
      console.log(res);
      const data = res.data;
      if (data.code == 200) {
        list = data.list.list;
      }
    })
    return list
}

